﻿using UnityEngine;
using System.Collections;

public class Player : MonoBehaviour 
{
  public enum PlayerEnum
  {
    Red,
    Blue,
  }

  public PlayerEnum flag;

  void OnTriggerEnter2D(Collider2D other)
  {
    if (other.CompareTag("Enemys"))
    {
      Debug.Log("OnTriggerEnter2D --> Enemys (@" + flag + ")");
    }
  }
}
